home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / OSAComp.p < prev    next >
Text File  |  1996-05-01  |  2KB  |  70 lines

  1. {
  2.      File:        OSAComp.p
  3.  
  4.      Contains:    AppleScript Component Implementor's Interfaces.
  5.  
  6.      Version:    Technology:    AppleScript 1.1
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT OSAComp;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __OSACOMP__}
  28. {$SETC __OSACOMP__ := 1}
  29.  
  30. {$I+}
  31. {$SETC OSACompIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __APPLEEVENTS__}
  35. {$I AppleEvents.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __OSA__}
  38. {$I OSA.p}
  39. {$ENDC}
  40.  
  41. {$PUSH}
  42. {$ALIGN MAC68K}
  43. {$LibExport+}
  44.  
  45. {$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
  46. {
  47. *************************************************************************
  48.     Types and Constants
  49. *************************************************************************
  50. }
  51. {
  52. *************************************************************************
  53.     Routines for Associating a Storage Type with a Script Data Handle 
  54. *************************************************************************
  55. }
  56. FUNCTION OSAGetStorageType(scriptData: Handle; VAR dscType: DescType): OSErr;
  57. FUNCTION OSAAddStorageType(scriptData: Handle; dscType: DescType): OSErr;
  58. FUNCTION OSARemoveStorageType(scriptData: Handle): OSErr;
  59. {$ENDC}
  60. {$ALIGN RESET}
  61. {$POP}
  62.  
  63. {$SETC UsingIncludes := OSACompIncludes}
  64.  
  65. {$ENDC} {__OSACOMP__}
  66.  
  67. {$IFC NOT UsingIncludes}
  68.  END.
  69. {$ENDC}
  70.